package com.kws.system.service.merchant;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kws.system.domain.TbMerchant;
import com.kws.system.domain.merchant.CreateMerchantSettlementRq;
import com.kws.system.domain.merchant.MerchantExamineRq;
import com.kws.system.domain.merchant.QueryMerchantSettlementRq;
import com.kws.system.domain.merchant.info.QueryMerchantExamineInfo;
import com.kws.system.domain.merchant.info.QueryMerchantSettlementInfo;

public interface MerchantSettlementService extends IService<TbMerchant> {
    Page<QueryMerchantSettlementInfo> queryMerchantSettlementPage(QueryMerchantSettlementRq rq);

    QueryMerchantExamineInfo queryMerchantSettlementById(Long id);

    boolean deleteMerchantSettlementById(Long id);

    boolean firstInstance(MerchantExamineRq rq);

    boolean secondInstance(MerchantExamineRq rq);

    boolean createMerchantSettlement(CreateMerchantSettlementRq rq);

}
